package com.roncoo.student.stu.dao;

import com.roncoo.student.stu.entity.Lecturer;
import com.roncoo.student.stu.entity.UserLecturerAttention;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jl
 * @since 2021-04-12
 */
public interface UserLecturerAttentionMapper extends BaseMapper<UserLecturerAttention> {

    List<UserLecturerAttention> findByUserAndLec(UserLecturerAttention userLecturerAttention);

    List<Lecturer> finduserLecAttById(Integer userId);

    boolean delByUserAndLec(UserLecturerAttention userLecturerAttention);
}
